<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var num1 = prompt('请输入数字1',0);
			var num2 = prompt('请输入数字2',0);
			var tag = prompt('请输入运算符');
			
//弹出的内容:
//		10 + 2 = 12
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		</script>
	</body>
</html>
